
package com.tenentia.pcmps.swm.data.beans;

import org.apache.commons.beanutils.BeanUtils;

import com.tenentia.pcmps.swm.Constants;

/**
 * 
 * @author tEnEntia, S.L.N.E.
 * 
 */
public class InsurancePolicyType {

	private Long internalID;

	private String name;

	public InsurancePolicyType() {

		super();
	}
	
	@Override
	public String toString() {

		try {
			return BeanUtils.describe(this).toString();
		} catch (Exception e) {
			return Constants.STRING_EMPTY;
		}
	}

	/**
	 * @return the internalID
	 */
	public Long getInternalID() {

		return internalID;
	}

	/**
	 * @return the name
	 */
	public String getName() {

		return name;
	}

	/**
	 * @param internalID
	 *            the internalID to set
	 */
	public void setInternalID(Long internalID) {

		this.internalID = internalID;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {

		this.name = name;
	}

}
